Class DisplayNotification
- java.lang.Object
-
- com.amazon.A3L.messaging.ADM.notification.DisplayNotification
-
public class DisplayNotification extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDisplayNotification.DisplayNotificationInfoStatic class for displaying notification
-
Constructor Summary
Constructors Constructor Description DisplayNotification()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidhandleNotification(android.os.Bundle data, android.content.Context context)Handles notificationstatic booleanisAppInForeground(android.content.Context context)Check if the app is in foreground
-
-
-
Method Detail
-
isAppInForeground
public static boolean isAppInForeground(android.content.Context context)
Check if the app is in foreground- Parameters:
context-- Returns:
- a boolean
-
handleNotification
public static void handleNotification(android.os.Bundle data, android.content.Context context)Handles notification- Parameters:
data-context-
-
-